package com.joysuch.wwyt.dataimport.bean;

import cn.afterturn.easypoi.excel.annotation.Excel;
import com.joysuch.wwyt.core.entity.BaseUser;
import lombok.Data;

import java.util.Date;


@Data
public class ExcelUserBean {

    private int rowIndex;

    @Excel(name = "工号")
    private String code;

    @Excel(name = "人员姓名")
    private String realName;

    @Excel(name = "身份")
    private String roleName;

    @Excel(name = "工作单位")
    private String companyName;

    @Excel(name = "部门")
    private String departName;

    @Excel(name = "岗位")
    private String jobName;

    @Excel(name = "定位卡号")
    private String sn;

    @Excel(name = "门禁卡号")
    private String cardNumber;

    @Excel(name = "地图显示图标")
    private Long capId;

    //报警模板
    @Excel(name = "报警模板")
    private String alarmTemplateName;

    @Excel(name = "账号")
    private String account;

    @Excel(name = "性别")
    private String gender;

    @Excel(name = "进入本单位日期", importFormat = "yyyy-MM-dd")
    private Date enterDate;

    @Excel(name = "出生年月", importFormat = "yyyy-MM-dd")
    private Date birthday;

    @Excel(name = "民族")
    private String nation;

    @Excel(name = "证件类型")
    private String idCardType;//1-5

    @Excel(name = "证件号码")
    private String idCardNo;

    @Excel(name = "联系电话")
    private String telephone;

    @Excel(name = "办公电话")
    private String officePhone;

    @Excel(name = "邮箱")
    private String email;

    @Excel(name = "健康状况")//1-4
    private String health;

    @Excel(name = "学历")
    private String degree;

    @Excel(name = "专业")
    private String major;

    @Excel(name = "户籍所在地")
    private String censusRegisterAddr;

    @Excel(name = "通讯地址")
    private String address;

    @Excel(name = "邮编")
    private String postcode;

    @Excel(name = "参加工作时间", importFormat = "yyyy-MM-dd")
    private java.util.Date attendWorkTime;

    // 职称
    @Excel(name = "职称/技能等级")
    private String title;

    private BaseUser user;

    @Excel(name = "职务")
    private String duty;

    @Excel(name = "工作职责")
    private java.lang.String jobDuty;

    @Excel(name = "工作经历")
    private java.lang.String jobHistory;

    @Excel(name = "人员类型")
    private String personTypeName;
//    @Excel(name = "从业所在地")
//    private String work;
}
